/* CreditsView.h
 * Credits: myself, graphics ripper, music composers
 *
 * Last Modified: 16.01.2014
 * Author: Guilherme S.G.
 */

#ifndef __JB_CREDITS_VIEW_H__
#define __JB_CREDITS_VIEW_H__

#include "Global.h"
#include "View.h"

class CreditsView : public View
{
private:
    ALLEGRO_BITMAP *background;
    Sprite *naruto, *sasuke;
    
    std::vector<std::pair<std::string, std::string> > credits;
    ALLEGRO_FONT *font;
    int centerX, centerY;
    
public:
    CreditsView();
    ~CreditsView();
    
    void handleEvents(ALLEGRO_EVENT *event);
    void update();
    void render();
};

#endif
